package com.oyc.demo.domain;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

import org.apache.poi.ss.usermodel.BorderStyle;
import org.apache.poi.ss.usermodel.HorizontalAlignment;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.oyc.demo.easyexcel.ExcelPatternMsg;

import io.swagger.annotations.ApiModel;

/**
 * (Initdata)实体类
 *
 * @author 杜学森
 * @since 2021-01-20 18:51:28
 */
@ApiModel
@ContentRowHeight(15)
@HeadRowHeight(20)
@ColumnWidth(25)
@HeadFontStyle(fontHeightInPoints = 10)
@ContentStyle(horizontalAlignment = HorizontalAlignment.CENTER, wrapped = true,borderLeft= BorderStyle.THIN,borderRight=BorderStyle.THIN,borderTop=BorderStyle.THIN,borderBottom=BorderStyle.THIN)
public class Initdata extends BaseEntity {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@HeadStyle(fillForegroundColor = 41)
	@ExcelProperty(value = { "序号", "序号" }, index = 0)
	private Integer rownum;

	@HeadStyle(fillForegroundColor = 41)
	@ExcelProperty(value = { "省公司简称", "省公司简称" }, index = 1)
	@NotNull(message = "应该填写数据")
	private String provincecompanyname;

	@HeadStyle(fillForegroundColor = 41)
	@ExcelProperty(value = { "地市公司简称", "地市公司简称" }, index = 2)
	private String citycompanyname;

	@HeadStyle(fillForegroundColor = 41)
	@ExcelProperty(value = { "仓库名称", "仓库名称" }, index = 3)
	private String warehousename;

	@HeadStyle(fillForegroundColor = 41)
	@ExcelProperty(value = { "供应商全称", "供应商全称" }, index = 4)
	private String suppliername;

	@HeadStyle(fillForegroundColor = 41)
	@ExcelProperty(value = { "供应商编码", "供应商编码" }, index = 5)
	private String suppliercode;

	@HeadStyle(fillForegroundColor = 41)
	@ExcelProperty(value = { "物料名称（架空绝缘导线/电力电缆/低压电力电缆）", "物料名称（架空绝缘导线/电力电缆/低压电力电缆）" }, index = 6)
	private String goodsname;

	@HeadStyle(fillForegroundColor = 41)
	@ExcelProperty(value = { "物料描述", "物料描述" }, index = 7)
	private String goodsdescribe;

	@HeadStyle(fillForegroundColor = 41)
	@ExcelProperty(value = { "物料编码", "物料编码" }, index = 8)
	private String goodscode;

	@HeadStyle(fillForegroundColor = 41)
	@ExcelProperty(value = { "采购订单号", "采购订单号" }, index = 9)
	@NotNull(message = "应该填写数据")
	private String ordernumber;

	@HeadStyle(fillForegroundColor = 41)
	@ExcelProperty(value = { "盘号", "盘号" }, index = 10)
	@NotNull(message = "应该填写数据")
	private String reelnumber;

	@HeadStyle(fillForegroundColor = 41)
	@ExcelProperty(value = { "入库日期", "入库日期" }, index = 11)
	private String enterdate;

	@ExcelIgnore
	private String tablename;

	public String getTablename() {
		return tablename;
	}

	public void setTablename(String tablename) {
		this.tablename = tablename;
	}

	public Integer getRownum() {
		return rownum;
	}

	public void setRownum(Integer rownum) {
		this.rownum = rownum;
	}

	public String getProvincecompanyname() {
		return provincecompanyname;
	}

	public void setProvincecompanyname(String provincecompanyname) {
		this.provincecompanyname = provincecompanyname;
	}

	public String getCitycompanyname() {
		return citycompanyname;
	}

	public void setCitycompanyname(String citycompanyname) {
		this.citycompanyname = citycompanyname;
	}

	public String getWarehousename() {
		return warehousename;
	}

	public void setWarehousename(String warehousename) {
		this.warehousename = warehousename;
	}

	public String getSuppliername() {
		return suppliername;
	}

	public void setSuppliername(String suppliername) {
		this.suppliername = suppliername;
	}

	public String getSuppliercode() {
		return suppliercode;
	}

	public void setSuppliercode(String suppliercode) {
		this.suppliercode = suppliercode;
	}

	public String getGoodsname() {
		return goodsname;
	}

	public void setGoodsname(String goodsname) {
		this.goodsname = goodsname;
	}

	public String getGoodsdescribe() {
		return goodsdescribe;
	}

	public void setGoodsdescribe(String goodsdescribe) {
		this.goodsdescribe = goodsdescribe;
	}

	public String getGoodscode() {
		return goodscode;
	}

	public void setGoodscode(String goodscode) {
		this.goodscode = goodscode;
	}

	public String getOrdernumber() {
		return ordernumber;
	}

	public void setOrdernumber(String ordernumber) {
		this.ordernumber = ordernumber;
	}

	public String getReelnumber() {
		return reelnumber;
	}

	public void setReelnumber(String reelnumber) {
		this.reelnumber = reelnumber;
	}

	public String getEnterdate() {
		return enterdate;
	}

	public void setEnterdate(String enterdate) {
		this.enterdate = enterdate;
	}
}